#include "threadPool.h"

int threadPoolInit(threadPool_t *pthreadPool, int workerNum){
    pthreadPool->threadNum = workerNum;
    pthreadPool->tidArr = (pthread_t *)calloc(workerNum,sizeof(pthread_t));
    pthreadPool->isexit = 0;
    taskQueueInit(&pthreadPool->taskQueue);
}

